﻿package org.tbyrne.motion
{
	import fl.transitions.TweenEvent;
	
	public class MultiTweenEvent extends fl.transitions.TweenEvent{
	    public static const MOTION_START:String = 'motionStart';   
	    public static const MOTION_STOP:String = 'motionStop';
	    public static const MOTION_FINISH:String = 'motionFinish';
	    public static const MOTION_CHANGE:String = 'motionChange';
	    public static const MOTION_RESUME:String = 'motionResume';
	    public static const MOTION_LOOP:String = 'motionLoop';
    
		private var positions:Array;
		
		public function MultiTweenEvent(type:String, time:Number, positions:Array, bubbles:Boolean=false, cancelable:Boolean=false){
			super(type, time, positions[0], bubbles, cancelable);
			this.positions = positions;
		}
	}
}